use super::super::*;

#[test]
fn test_north_seeking_directions() {
    assert_eq!(
        [
            (Direction::East, (0, 1)),
            (Direction::North, (-1, 0)),
            (Direction::West, (0, -1)),
            (Direction::South, (1, 0)),
        ],
        NORTH_SEEKING_DIRECTIONS,
    );
}

#[test]
fn test_east_seeking_directions() {
    assert_eq!(
        [
            (Direction::South, (1, 0)),
            (Direction::East, (0, 1)),
            (Direction::North, (-1, 0)),
            (Direction::West, (0, -1)),
        ],
        EAST_SEEKING_DIRECTIONS,
    );
}

#[test]
fn test_south_seeking_directions() {
    assert_eq!(
        [
            (Direction::West, (0, -1)),
            (Direction::South, (1, 0)),
            (Direction::East, (0, 1)),
            (Direction::North, (-1, 0)),
        ],
        SOUTH_SEEKING_DIRECTIONS,
    );
}

#[test]
fn test_west_seeking_directions() {
    assert_eq!(
        [
            (Direction::North, (-1, 0)),
            (Direction::West, (0, -1)),
            (Direction::South, (1, 0)),
            (Direction::East, (0, 1)),
        ],
        WEST_SEEKING_DIRECTIONS,
    );
}
